﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace EntLib.Domain.Model
{
    public class Order : Base
    {      

        #region Columns

        /// <summary>订单号</summary>
        public string OrderId { get; set; }

        /// <summary>用户ID</summary>
        public int UserId { get; set; }

        /// <summary>店铺标识</summary>
        public string ShopId { get; set; }

        /// <summary>插入时间</summary>
        public DateTime InputTime { get; set; }

        /// <summary>状态 - 0:未审核,1:已审核</summary>
        public int Status { get; set; }

        /// <summary>商品ID</summary>
        public string ProductId { get; set; }

        /// <summary>商品价格</summary>
        public decimal ProductPrice { get; set; }

        /// <summary>商品数量</summary>
        public int ProductNum { get; set; }

        /// <summary>商品总佣金</summary>
        public decimal YongJin { get; set; }

        /// <summary>商品名称</summary>
        public string ProductName { get; set; }

        /// <summary>订单时间,订单在商城生成时间</summary>
        public DateTime OrderTime { get; set; }

        /// <summary>联盟编号</summary>
        public int LM { get; set; }

        /// <summary>佣金类型 - 1:现金,2:积分,3:F币</summary>
        public int CommissionType { get; set; }

        /// <summary>商城标识</summary>
        public string MallIdentifier { get; set; }

        /// <summary>
        /// 是否维权订单, 0:否, 1:是
        /// </summary>
        public bool IsMaintain { get; set; }

        #endregion
    }
}
